package com.qn.meta.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Data
@Tag(name="登录")
public class LoginVo implements Serializable {

    @Schema(description = "用户")
    @NotNull(message = "用户-不能为空")
    private String username;

    @Schema(description = "密码")
    @NotNull(message = "密码-不能为空")
    private String password;

    @Schema(description = "登录设备（PC,APP）")
    @NotNull(message = "登录设备-不能为空")
    private String device;

    @Schema(description = "记住我")
    @NotNull(message = "记住我-不能为空")
    private Boolean isLastingCookie;

}
